package edu.drexel.cs575.taskManager.services.group;

import java.util.List;

import javax.jws.WebService;

@WebService
public class group_caller {
	public boolean createGroup(String TaskID, String Groupnm, String Appname) {
		group_api create = new group_api();
		return create.createGroup(TaskID, Groupnm, Appname);
	}

	public boolean removeGroup(String Groupnm, String Appname) {
		group_api create = new group_api();
		return create.removeGroup(Groupnm, Appname);
	}

	public boolean adduser2group(String Username, String Groupnm) {
		group_api create = new group_api();
		return create.adduser2group(Username, Groupnm);
	}

	public boolean removeuserGroup(String Username, String Groupnm) {
		group_api create = new group_api();
		return create.removeuserGroup(Username, Groupnm);
	}

	public String getTaskID4Group(String Appname, String groupnm) {
		group_api create = new group_api();
		return create.getTaskID4Group(Appname, groupnm);
	}

	public List<String> getUsersfromGroup(String Appname, String groupnm) {
		group_api create = new group_api();
		return create.getUsersfromGroup(Appname, groupnm);
	}
}
